package com.xqls.dal.dao;

import com.xqls.dal.model.SamplingRecord;
import com.xqls.dal.model.SamplingRecordExample;

import java.util.List;
import java.util.Map;

public interface SamplingRecordDao {
	
	public int insertSamplingRecordList(SamplingRecord samplingRecord);
	
	List<Map<String, Object>> selectByMap(Map<String, Object> map,String sampleType);
	
	public int updateSamplingRecordList(SamplingRecord samplingRecord);
	
	public SamplingRecord queryByRecordNo(Integer recordNo);

	public SamplingRecord queryByExample(SamplingRecordExample example);
	
	public SamplingRecord queryDischargeByDeviceNo(String deviceNo);
	
	public SamplingRecord queryRecordByDeviceNo(String deviceNo,String sampleType);
	
	List<Map<String, Object>> getListByMap(Map<String, Object> map);

}
